package com.jjy.dao;

import com.jjy.pojo.Goods;
import com.jjy.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsDao {
  Goods selectGoodsById(int id);
  List<Goods> selectGoodsList();
  List<Goods> selectGoodsByParams(Goods goods);
  int createGoods(Goods goods);
}
